import memcache
mc = memcache.Client(['127.0.0.1:11211'], debug=0)

mc.set("some_key", "Some value")
result = mc.get_stats()
print type(result[0][0])
print type(result[0][1])

stats = result[0][1]

for key in stats :
    print "%s:%s" % ( key, stats[key]) 
